export const cardSchema = {
  type: 'card',
  category: 'container',
  icon: 'card',
  widgetList: [],
  options: {
    name: '',
    label: 'card',
    hidden: false,
    folded: false,
    showFold: true,
    cardWidth: '100%',
    shadow: 'never',
    customClass: '',
  }
}

export const alertSchema = {
  type: 'alert',
  icon: 'alert',
  formItemFlag: false,
  options: {
    name: '',
    title: 'Good things are coming1111...',
    type: 'info',
    description: '',
    closable: true,
    closeText: '',
    center: true,
    showIcon: false,
    effect: 'light',
    hidden: false,
    onClose: '',
    customClass: '',
  }
}
export const buttonSchema = {
  type: 'btn',
  icon: 'button',
  formItemFlag: false,
  options: {
    name: '',
    label: '按钮',
    type: 'default',
    size: 'medium',
    shape: 'circle',
    icon: '',
    iconPosition: 'left',
    disabled: false,
    loading: false,
    hidden: false,
    customClass: '',
    onClick: '',
  }
}

export const mapPointSchema = {
  type: 'mapPoint',
  icon: 'map',
  formItemFlag: true,
  options: {
    name: '',
    label: '坐标选取',
    labelAlign: '',
    type: 'text',
    placeholder: '点击选择坐标',
    columnWidth: '200px',
    size: '',
    labelWidth: null,
    labelHidden: false,
    readonly: true,
    disabled: false,
    hidden: false,
    clearable: true,
    showPassword: false,
    required: false,
    requiredHint: '',
    mapsrc: '',
    validation: '',
    validationHint: '',
    //-------------------
    customClass: '',  //自定义css类名
    labelIconClass: null,
    labelIconPosition: 'rear',
    labelTooltip: null,
    minLength: null,
    maxLength: null,
    showWordLimit: false,
    prefixIcon: '',
    suffixIcon: '',
    appendButton: false,
    appendButtonDisabled: false,
    buttonIcon: 'custom-search',
  },
}

export const mapLineSchema = {
  type: 'mapLine',
  icon: 'map',
  formItemFlag: true,
  options: {
    name: '',
    label: '画线',
    labelAlign: '',
    type: 'text',
    placeholder: '点击画线',
    columnWidth: '200px',
    size: '',
    labelWidth: null,
    labelHidden: false,
    readonly: true,
    disabled: false,
    hidden: false,
    clearable: true,
    showPassword: false,
    required: false,
    requiredHint: '',
    mapsrc: '',
    validation: '',
    validationHint: '',
    //-------------------
    customClass: '',  //自定义css类名
    labelIconClass: null,
    labelIconPosition: 'rear',
    labelTooltip: null,
    minLength: null,
    maxLength: null,
    showWordLimit: false,
    prefixIcon: '',
    suffixIcon: '',
    appendButton: false,
    appendButtonDisabled: false,
    buttonIcon: 'custom-search',
  },
}

export const mapPolygonSchema = {
  type: 'mapPolygon',
  icon: 'map',
  formItemFlag: true,
  options: {
    name: '',
    label: '画面',
    labelAlign: '',
    type: 'text',
    placeholder: '点击画面',
    columnWidth: '200px',
    size: '',
    labelWidth: null,
    labelHidden: false,
    readonly: true,
    disabled: false,
    hidden: false,
    clearable: true,
    showPassword: false,
    required: false,
    requiredHint: '',
    mapsrc: '',
    validation: '',
    validationHint: '',
    //-------------------
    customClass: '',  //自定义css类名
    labelIconClass: null,
    labelIconPosition: 'rear',
    labelTooltip: null,
    minLength: null,
    maxLength: null,
    showWordLimit: false,
    prefixIcon: '',
    suffixIcon: '',
    appendButton: false,
    appendButtonDisabled: false,
    buttonIcon: 'custom-search',
  },
}